package com.meiya.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author qiukangming
 */
@RestController
@RequestMapping("hello")
public class HelloController {
    @GetMapping("test")
    public String test() {
        return "Hello, CICD test second!";
    }

    @GetMapping("jk-test")
    public String jkTest() {
        return "Hello, Jenkins!";
    }
}
